package cn.nextProject.service;

import cn.nextProject.entity.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PermissionService {

    void saveBatch(List<Permission> permissions);

    void saveBatchHasId(List<Permission> permissionList);

    void update(Permission permission);

    List<Permission> findAll();

    Map<String,Permission> findAllMap();

    void deleteAll();

    List<Permission> findByNotIn(Long roleGroupId);

}
